package com.team.recruitment_management_system.mapper;

import com.team.recruitment_management_system.pojo.entity.ChatMessage;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.team.recruitment_management_system.pojo.vo.chat.ChatMessageVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
* @author 86147
* @description 针对表【chat_message(聊天消息表)】的数据库操作Mapper
* @createDate 2024-03-21 20:28:40
* @Entity com.team.recruitment_management_system.pojo.entity.ChatMessage
*/
@Mapper
public interface ChatMessageMapper extends BaseMapper<ChatMessage> {

    List<ChatMessageVo> getSenderAll(String currentUsername, String recipientUsername);
}




